﻿
namespace StagingAreaETL
{
    class UserAccountDIM
    {
        internal UserAccountDIM(int studentKey, int accountKey, string login, string domain, string creationTimeKey,
                                bool locked, bool deleted)
        {
            StudentNaturalKEY = studentKey;
            NaturalKEY = accountKey;
            Username = login;
            Domain = domain;
            CreationTimeKEY = creationTimeKey;
            Locked = locked;
            Deleted = deleted;
        }


        internal readonly int NaturalKEY;

        internal int StudentNaturalKEY { get; private set; }    //probably never used
        internal int StudentSurrogateKEY { get; set; }          //field 'StudentKEY'. To be assigned after
                                                                //corresponding Student record has been saved.
        internal readonly string Username;
        internal readonly string Domain;
        internal readonly string CreationTimeKEY;
        internal readonly bool Locked;
        internal readonly bool Deleted;
    }
}
